﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Components;

class Program
{
    static void Main(string[] args)
    {
        var circle = new Circle(1, 1, 2, Color.Red);
        ShowDebugInfo(circle);
        circle.Move(2, 2);  
        ShowDebugInfo(circle);
        circle.Scale(2);
        ShowDebugInfo(circle);
        Console.ReadKey();
    }

    private static void ShowDebugInfo(Circle item)
    {
        Console.WriteLine("Location X = {0}, Y = {1}, Radius = {2}", item.Location.X, item.Location.Y, item.Radius);
        Console.WriteLine("Area = {0}, Perimeter = {1}", item.Area(), item.Perimeter());
    }
}
